package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TGroupUser;
import com.learn.multDataSource.model.mysql.TGroupUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TGroupUserMapper {
    int countByExample(TGroupUserExample example);

    int deleteByExample(TGroupUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TGroupUser record);

    int insertSelective(TGroupUser record);

    List<TGroupUser> selectByExample(TGroupUserExample example);

    TGroupUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TGroupUser record, @Param("example") TGroupUserExample example);

    int updateByExample(@Param("record") TGroupUser record, @Param("example") TGroupUserExample example);

    int updateByPrimaryKeySelective(TGroupUser record);

    int updateByPrimaryKey(TGroupUser record);
}